home *** CD-ROM | disk | FTP | other *** search
- Path: pelican.cs.ucla.edu!scottm
- From: scottm@pelican.cs.ucla.edu (Scott Michel)
- Newsgroups: comp.lang.c++
- Subject: Re: HELP !!(RAISE A NUMBER TO A NEGATIVE POWER)
- Date: 20 Mar 1996 00:18:05 GMT
- Organization: UCLA CS Dept
- Message-ID: <4inirt$3rk@delphi.cs.ucla.edu>
- References: <4hlqve$26t@dub-news-svc-6.compuserve.com> <Dnx1Bu.pp@research.att.com>
- NNTP-Posting-Host: pelican.cs.ucla.edu
- X-Newsreader: TIN [version 1.2 PL2]
-
- Andrew Koenig (ark@research.att.com) wrote:
- : In article <4hlqve$26t@dub-news-svc-6.compuserve.com> <102627.3053@compuserve.com> writes:
-
- : > IM TRYING TO CREATE A FUNCTION THAT WILL:
- : > 1.) RAISE A NUMBER TO A POWER BOTH POSITIVE AND NEGATIVE.
- : > ALSO 0 TO ANY POWER WOULD REPORT 0 AND THAT ANY NUMBER TO
- : > THE 0 POWER IS ONE.
- : > 2.) DO THE SAME USING A RECURSIVE FUNCTION.
-
- : Asking someone else to do your homework for you
- : is usually considered plagiarism; when I was in
- : school, it was cause for expulsion.
-
- It also sounds like someone needs to pay more attention to
- basic algebra and functions.
-
- Of course, they still taught that when I went to high school
- not all that long ago.
-
- -scottm
-